﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013AF RID: 5039
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TeleportToMissionResetPointScRsp : IMessage<TeleportToMissionResetPointScRsp>, IMessage, IEquatable<TeleportToMissionResetPointScRsp>, IDeepCloneable<TeleportToMissionResetPointScRsp>, IBufferMessage
	{
		// Token: 0x17003F86 RID: 16262
		// (get) Token: 0x0600E1A6 RID: 57766 RVA: 0x0025B2C3 File Offset: 0x002594C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TeleportToMissionResetPointScRsp> Parser
		{
			get
			{
				return TeleportToMissionResetPointScRsp._parser;
			}
		}

		// Token: 0x17003F87 RID: 16263
		// (get) Token: 0x0600E1A7 RID: 57767 RVA: 0x0025B2CA File Offset: 0x002594CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TeleportToMissionResetPointScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F88 RID: 16264
		// (get) Token: 0x0600E1A8 RID: 57768 RVA: 0x0025B2DC File Offset: 0x002594DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TeleportToMissionResetPointScRsp.Descriptor;
			}
		}

		// Token: 0x0600E1A9 RID: 57769 RVA: 0x0025B2E3 File Offset: 0x002594E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TeleportToMissionResetPointScRsp()
		{
		}

		// Token: 0x0600E1AA RID: 57770 RVA: 0x0025B2EC File Offset: 0x002594EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TeleportToMissionResetPointScRsp(TeleportToMissionResetPointScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.clientPosVersion_ = other.clientPosVersion_;
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E1AB RID: 57771 RVA: 0x0025B344 File Offset: 0x00259544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TeleportToMissionResetPointScRsp Clone()
		{
			return new TeleportToMissionResetPointScRsp(this);
		}

		// Token: 0x17003F89 RID: 16265
		// (get) Token: 0x0600E1AC RID: 57772 RVA: 0x0025B34C File Offset: 0x0025954C
		// (set) Token: 0x0600E1AD RID: 57773 RVA: 0x0025B354 File Offset: 0x00259554
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003F8A RID: 16266
		// (get) Token: 0x0600E1AE RID: 57774 RVA: 0x0025B35D File Offset: 0x0025955D
		// (set) Token: 0x0600E1AF RID: 57775 RVA: 0x0025B365 File Offset: 0x00259565
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ClientPosVersion
		{
			get
			{
				return this.clientPosVersion_;
			}
			set
			{
				this.clientPosVersion_ = value;
			}
		}

		// Token: 0x17003F8B RID: 16267
		// (get) Token: 0x0600E1B0 RID: 57776 RVA: 0x0025B36E File Offset: 0x0025956E
		// (set) Token: 0x0600E1B1 RID: 57777 RVA: 0x0025B376 File Offset: 0x00259576
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x0600E1B2 RID: 57778 RVA: 0x0025B37F File Offset: 0x0025957F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TeleportToMissionResetPointScRsp);
		}

		// Token: 0x0600E1B3 RID: 57779 RVA: 0x0025B390 File Offset: 0x00259590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TeleportToMissionResetPointScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ClientPosVersion == other.ClientPosVersion && object.Equals(this.Motion, other.Motion) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E1B4 RID: 57780 RVA: 0x0025B3F0 File Offset: 0x002595F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ClientPosVersion != 0U)
			{
				num ^= this.ClientPosVersion.GetHashCode();
			}
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E1B5 RID: 57781 RVA: 0x0025B45E File Offset: 0x0025965E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E1B6 RID: 57782 RVA: 0x0025B466 File Offset: 0x00259666
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E1B7 RID: 57783 RVA: 0x0025B470 File Offset: 0x00259670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.motion_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.Motion);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.ClientPosVersion != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ClientPosVersion);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E1B8 RID: 57784 RVA: 0x0025B4E8 File Offset: 0x002596E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ClientPosVersion != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ClientPosVersion);
			}
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E1B9 RID: 57785 RVA: 0x0025B558 File Offset: 0x00259758
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TeleportToMissionResetPointScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ClientPosVersion != 0U)
			{
				this.ClientPosVersion = other.ClientPosVersion;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E1BA RID: 57786 RVA: 0x0025B5D4 File Offset: 0x002597D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E1BB RID: 57787 RVA: 0x0025B5E0 File Offset: 0x002597E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 88U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.ClientPosVersion = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.motion_ == null)
					{
						this.Motion = new MotionInfo();
					}
					input.ReadMessage(this.Motion);
				}
			}
		}

		// Token: 0x0400594A RID: 22858
		private static readonly MessageParser<TeleportToMissionResetPointScRsp> _parser = new MessageParser<TeleportToMissionResetPointScRsp>(() => new TeleportToMissionResetPointScRsp());

		// Token: 0x0400594B RID: 22859
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400594C RID: 22860
		public const int RetcodeFieldNumber = 11;

		// Token: 0x0400594D RID: 22861
		private uint retcode_;

		// Token: 0x0400594E RID: 22862
		public const int ClientPosVersionFieldNumber = 13;

		// Token: 0x0400594F RID: 22863
		private uint clientPosVersion_;

		// Token: 0x04005950 RID: 22864
		public const int MotionFieldNumber = 2;

		// Token: 0x04005951 RID: 22865
		private MotionInfo motion_;
	}
}
